/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vista;

/**
 *
 * @author 224598kaipqc3w000483
 */
public class principal extends javax.swing.JFrame {

    /**
     * Creates new form principal
     */
    public principal() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jCDesktopPane = new JCDesktopPane.JCDesktopPane();
        jMenuBar_principal = new javax.swing.JMenuBar();
        jMenu_conectar = new javax.swing.JMenu();
        cmdConectarCenG = new javax.swing.JMenuItem();
        cmdConectarPrivado = new javax.swing.JMenuItem();
        jSeparator1 = new javax.swing.JPopupMenu.Separator();
        cmdDesconectar = new javax.swing.JMenuItem();
        jSeparator2 = new javax.swing.JPopupMenu.Separator();
        cmdSalir = new javax.swing.JMenuItem();
        jMenu_ayuda = new javax.swing.JMenu();
        cmdAcercaDe = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jCDesktopPane.setBackground(new java.awt.Color(240, 240, 240));
        jCDesktopPane.setImagenDeFondo(new javax.swing.ImageIcon(getClass().getResource("/imagenes/no-imagen-fondo.jpg"))); // NOI18N

        jMenu_conectar.setText("Conexion");

        cmdConectarCenG.setText("Conectar Album Picasa CenG");
        cmdConectarCenG.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdConectarCenGActionPerformed(evt);
            }
        });
        jMenu_conectar.add(cmdConectarCenG);

        cmdConectarPrivado.setText("Conectar Album Picasa privado");
        jMenu_conectar.add(cmdConectarPrivado);
        jMenu_conectar.add(jSeparator1);

        cmdDesconectar.setText("Desconectar");
        cmdDesconectar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmdDesconectarActionPerformed(evt);
            }
        });
        jMenu_conectar.add(cmdDesconectar);
        jMenu_conectar.add(jSeparator2);

        cmdSalir.setText("Salir");
        jMenu_conectar.add(cmdSalir);

        jMenuBar_principal.add(jMenu_conectar);

        jMenu_ayuda.setText("Ayuda");

        cmdAcercaDe.setText("Acerca de ");
        jMenu_ayuda.add(cmdAcercaDe);

        jMenuBar_principal.add(jMenu_ayuda);

        setJMenuBar(jMenuBar_principal);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jCDesktopPane, javax.swing.GroupLayout.DEFAULT_SIZE, 874, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jCDesktopPane, javax.swing.GroupLayout.DEFAULT_SIZE, 563, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void cmdConectarCenGActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdConectarCenGActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cmdConectarCenGActionPerformed

    private void cmdDesconectarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdDesconectarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cmdDesconectarActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new principal().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    public javax.swing.JMenuItem cmdAcercaDe;
    public javax.swing.JMenuItem cmdConectarCenG;
    public javax.swing.JMenuItem cmdConectarPrivado;
    public javax.swing.JMenuItem cmdDesconectar;
    public javax.swing.JMenuItem cmdSalir;
    public JCDesktopPane.JCDesktopPane jCDesktopPane;
    private javax.swing.JMenuBar jMenuBar_principal;
    private javax.swing.JMenu jMenu_ayuda;
    private javax.swing.JMenu jMenu_conectar;
    private javax.swing.JPopupMenu.Separator jSeparator1;
    private javax.swing.JPopupMenu.Separator jSeparator2;
    // End of variables declaration//GEN-END:variables
}
